


import _ from 'lodash'
import { validateFormGetErrors } from '@/pages/Myantd/Form/FormUtils';
export default function* (
  { payload }: any,
  { call, put, select }: any,
) {

  const { forms } = yield select(({ forms }: any) => forms)
  const errors = validateFormGetErrors({
    forms: _.values(forms)
  })

  return errors
}

